#include <iostream>

using namespace std;

int main()
{
    int temp = 125;
    int lastPos1 = temp & (~temp + 1);
    cout << lastPos1 << endl;
    system("pause");
    return 0;
}